package com.bookmngsys.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * @author han
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class Reservation {
    @Id
    private String isbn;
    private Integer readerId;
    private int id;//book_id
    /**
     * 是否可预约 1 可借阅
     */
    private int status = 0;
    private Date reservationDate;
}